import request from '@/utils/request'
import type { PageDto, PageReqDto } from '../types'
import type { OssPolicyDto, UploadDto } from './types'

// 获取oss凭证
export function getOssPolicy(data: {
    dir: string
    params: {
        appId: number
    }
}): Promise<OssPolicyDto> {
    return request.post('/crm-prod/oss/policy', data)
}